package com.gxa.entity.points;

import com.baomidou.mybatisplus.annotation.*;

import java.io.Serializable;
import java.util.Date;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Getter;
import lombok.Setter;
import lombok.experimental.Accessors;

/**
 * <p>
 * 礼品兑换记录表
 * </p>
 *
 * @author yjl
 * @since 2022-10-17 10:36:06
 */
@Getter
@Setter
@Accessors(chain = true)
@TableName("t_exchange_Record")
@ApiModel(value = "ExchangeRecord对象", description = "礼品兑换记录表")
public class ExchangeRecord implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty("编号，礼品兑换记录表主键")
    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    @ApiModelProperty("兑换时间")
    @TableField("exchange_time")
    private Date exchangeTime;

    @ApiModelProperty("领取状态 0为未领取 2为已领取 3为已作废 ")
    @TableField("get_status")
    private Integer getStatus;

    @ApiModelProperty("领取时间")
    @TableField("get_time")
    private Date getTime;

    @ApiModelProperty("用户编号")
    @TableField("integration_id")
    private Integer integrationId;

    @ApiModelProperty("礼品编号")
    @TableField("gift_id")
    private Integer giftId;

    @ApiModelProperty("0为正常 1为删除")
    @TableField("is_delete")
    @TableLogic
    private Integer isDelete;


}
